package com.lone.design.pattern.creational.staticfactory;

/**
 * @author Lone
 * @date 2021/9/24 10:59 周五
 */
public class CoffeeStore {
    public Coffee orderCoffee(String type) {
        Coffee coffee = SimpleCoffeeFactory.createCoffee(type);
        coffee.addSugar();
        return coffee;
    }
}
